﻿using SQLite;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MoMoTransferVN_WP.database
{
    public sealed class momoContact
    {
        [PrimaryKey, AutoIncrement]
        public int Id { get; set; }

        public string name { get; set; }
        public int phoneNumber { get; set; }
        public string photoUrl { get; set; }
        public bool IsMomoer { get; set; }
        public DateTime CreationDate { get; set; }

        public override string ToString()
        {
            return String.Format("{0}:{1} < {2} {3}", name, phoneNumber, CreationDate.ToShortDateString(), CreationDate.ToShortTimeString());
        }
    }
}
